package io.renren.modules.sp.dao;

import io.renren.common.dao.BaseDao;
import io.renren.modules.sp.dto.SpBaseMatchItemDTO;
import io.renren.modules.sp.dto.SpBaseMatchItemGoupRefDTO;
import io.renren.modules.sp.entity.SpBaseMatchItemEntity;
import io.renren.modules.sp.entity.SpBaseMatchItemGoupRefEntity;
import io.renren.modules.sys.entity.SysDictDataEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import cn.hutool.db.Page;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;

import java.util.List;
import java.util.Map;

/**
* 赛项与组别的关系
*
* @author whc 15953295779@126.com
* @since 3.0 2024-03-08
*/
@Mapper
public interface SpBaseMatchItemGoupRefDao extends BaseDao<SpBaseMatchItemGoupRefEntity> {
    IPage<SpBaseMatchItemGoupRefEntity> selectPageVo(Page page, @Param(Constants.WRAPPER) QueryWrapper<SpBaseMatchItemGoupRefDTO> wrapper);

    List<SysDictDataEntity> queryGroup(Long id);



}